Skip to main content

ARDK for Android/com.nianticlabs.ardk/CameraIntrinsics/getPrincipalPoint

getPrincipalPoint

[androidJvm]
open fun getPrincipalPoint(): FloatArray

Returns a float[2] containing the principal point. The order of values is {cx, cy}.

[androidJvm]
open fun getPrincipalPoint(principalPoint: FloatArray?, offset: Int)

Returns the camera's principal point. The order of values is {cx, cy}.

Parameters​

androidJvm

principalPointstorage for at least 2 floats representing the principal point.
offsetthe offset in principalPoint at which to begin writing the principal point's values.